/* ****版权所有
 */
package com.wxy.bank.model;

/**
 * 账户类：Account，封装账户信息（一般和数据库字段对应）
 * @author wxy
 * @version 1.0
 */
public class Account {
    private String id;
    private String accountName;
    private String accountPsw;
    private String accountNo;
    private String bank;

    public Account() {
    }

    public Account(String id, String accountName, String accountPsw, String accountNo, String bank) {
        this.id = id;
        this.accountName = accountName;
        this.accountPsw = accountPsw;
        this.accountNo = accountNo;
        this.bank = bank;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getAccountPsw() {
        return accountPsw;
    }

    public void setAccountPsw(String accountPsw) {
        this.accountPsw = accountPsw;
    }

    public String getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo;
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    @Override
    public String toString() {
        return "Account{" +
                "id='" + id + '\'' +
                ", accountName='" + accountName + '\'' +
                ", accountPsw='" + accountPsw + '\'' +
                ", accountNo='" + accountNo + '\'' +
                ", bank='" + bank + '\'' +
                '}';
    }
}
